import { request } from "@/utils/request";

/**
 * 获取所有留言
 * @returns
 */
export const mangetallmessageapi = () => {
  return request.get("/message/mangetallmessage");
};

/**
 * 删除留言
 * @param id
 * @returns
 */
export const deletereplyapi = (id: number) => {
  return request.delete(`/message/deletereply/${id}`);
};
